package org.example.dao;

import org.example.pojo.Dept;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author TonySong
 * @date 2024/4/25 0025
 * @time 15:21
 */
public interface DeptDao extends JpaRepository<Dept,Long> {

    Long countByDname(String name);
}
